home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Graphics / Plotting / aa_Intel_Only / Gnuplot / GnuplotSource / Inspector.h < prev    next >
Encoding:
Text File  |  1995-06-12  |  1.5 KB  |  64 lines

  1. /*
  2.  *  Copyright (C) 1993  Robert Davis
  3.  *
  4.  *  This program is free software; you can redistribute it and/or
  5.  *  modify it under the terms of Version 2, or any later version, of 
  6.  *  the GNU General Public License as published by the Free Software 
  7.  *  Foundation.
  8.  */
  9.  
  10. /* $Id: Inspector.h,v 1.8 1993/05/04 16:22:10 davis Exp $ */
  11.  
  12. #import <objc/Object.h>
  13. #import <objc/hashtable.h>        /* NXAtom */
  14.  
  15. @class GnuplotPlot, List, Pane, Status;
  16.  
  17. #define NO_INSPECTOR        0
  18. #define GENERAL_INSPECTOR    1
  19. #define DATA_INSPECTOR        2
  20. #define AXES_INSPECTOR        3
  21. #define THREED_INSPECTOR    4
  22.  
  23. @interface Inspector:Object
  24. {
  25.     id        window;            /* The multi-inspector panel    */
  26.  
  27.     Pane    *noPane;        /* The Panes */
  28.     Pane    *generalPane;
  29.     Pane    *dataPane;
  30.     Pane    *axesPane;
  31.     Pane    *threeDPane;
  32.  
  33.     Pane    *currentPane;        /* One of the above Panes    */
  34.  
  35.     id        buttonMatrix;
  36.  
  37.     Status    *status;        /* Current status        */
  38.     GnuplotPlot    *gnuplotPlot;        /* Current plot            */
  39.  
  40.     id        plotButton;
  41. }
  42.  
  43. - init;
  44.  
  45. - window;            /* Returns the inspector window        */
  46.  
  47. /* 
  48.  *  Services.  (These work because we're the delegate of the inspector 
  49.  *  window.)
  50.  */
  51. - validRequestorForSendType:(NXAtom)sendType andReturnType:(NXAtom)returnType;
  52. - (BOOL)writeSelectionToPasteboard:pboard types:(NXAtom *)types;
  53.  
  54. - update;            /* Update the current pane        */
  55. - doPlot:sender;        /* Tell GnuplotPlot to replot        */
  56.  
  57. - windowDidUpdate:sender;    /* Make interface match current settings*/
  58.  
  59. - selectPane:(int)aPane;
  60. - showPane:sender;        /* Target/Action            */
  61.  
  62.  
  63. @end
  64.